﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MiscCommand.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The misc command.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.Common.Scripting
{
    /// <summary>
    /// The misc command.
    /// </summary>
    internal class MiscCommand : SqlString
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MiscCommand"/> class.
        /// </summary>
        public MiscCommand()
        {
            
        }

        /// <summary>
        /// Alter table command
        /// </summary>
        /// <param name="schema">
        /// </param>
        /// <param name="name">
        /// </param>
        /// <returns>
        /// The alter table.
        /// </returns>
        public string AlterTable(string schema, string name)
        {
            return string.Format("ALTER TABLE {0}.{1}", QuoteName(schema), QuoteName(name));
        }

    }
}